package de.jonasjelten.jcalc.mathExps;

import de.jonasjelten.jcalc.api.JCalc;
import de.jonasjelten.jcalc.exception.JEvaluationException;
import de.jonasjelten.jcalc.math.JNumber;

/**
 *
 * @author michael
 */
public abstract class JZeroArgMathExp extends JMathExp {
    public JZeroArgMathExp(JCalc jcalc) {
        super(jcalc);
    }

    @Override
    public abstract JNumber eval() throws JEvaluationException;

    @Override
    public abstract String toString();

    @Override
    public abstract boolean isTrivial();

    @Override
    public int getNonTrivialChildCount() {
        return 0;
    }
}
